package com.my.main.service.userAndRight;

import com.my.main.base.service.BaseService;
import com.my.main.entity.userAndRight.SysDepartment;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


/**
 * 系统_部门表Service
 *
 * @author mengft 2020-05-06
 */
@Service
public interface SysDepartmentService extends BaseService<SysDepartment> {
    // 根据pid查询部门信息
    public List<SysDepartment> queryParentList(Map<String, Object> map);

    // 查询部门及父部门id
    public List<String> queryDepartmentId(String departmentId);
}
